﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IconYuan.Model.DTO.Markets
{
    /// <summary>
    /// 促销优惠
    /// </summary>
    public class PromotionDto
    {
        /// <summary>
        /// 优惠类型: 1 体验价优惠, 2 买多件优惠
        /// </summary>
        public int type { get; set; } = 1;
        /// <summary>
        /// 体验价抵扣金额
        /// </summary>
        public decimal type_value { get; set; } = 0;
        /// <summary>
        /// 第一次买多少件门槛,例如买2件
        /// </summary>
        public decimal first_limit { get; set; }
        /// <summary>
        /// 第一次门槛减多少
        /// </summary>
        public decimal first_cut { get; set; }
        /// <summary>
        /// 第二次买多少件门槛,例如买5件
        /// </summary>
        public decimal secend_limit { get; set; }
        /// <summary>
        /// 第二次门槛减多少
        /// </summary>
        public decimal secend_cut { get; set; }
        /// <summary>
        /// 最大购买数
        /// </summary>
        public int max_count { get; set; }

        public string goods_ids { get; set; } = string.Empty;
    }
}
